<?phpinclude "header.php";include "mysqli_connection.php";if (!isset($_SESSION["username"])){        echo "<script>window.location.href='af.php'</script>";}else{?><script>function jump(){        window.location.href='af.php';}window.setTimeout("jump();",3000);</script><div><?php        if (isset($_POST["af_id"]) && $_POST["af_id"] !== ""){                $af_id = $mysqli->real_escape_string(trim($_POST["af_id"]));				if ($af_id != 0){                        $query = "DELETE FROM af WHERE af_id = ".$_POST["af_id"].";";						if (mysqli_query($mysqli,$query)){							echo "Item deleted!";						}						else {							echo "Delete failed!"; 						}                }                else{					                }        }        else{               }?>Jumping out this page in 3 seconds...<br /><img src="wait.gif"/><br /><a href="af.php">Click here to jump immediately</a></div><?php}mysqli_close($mysqli);	include "footer.php";